package com.erp.erp_mask.controller;

import com.erp.erp_mask.pojo.TSales;
import com.erp.erp_mask.service.TSalesService;
import com.erp.erp_mask.vo.Result;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping("/sell")
public class TSalesController {
    @Resource
    private TSalesService tSalesService;
    @GetMapping("/ductsearch")
    public Result ductsearch(){
        return Result.success(tSalesService.list());
    }
}
